import request from "../utils/request";

export function getListOrder(params,page) {
    return request({
      url: '/order/getListOrder/'+params+'?pageNum='+page.pageNum+'&pageSize='+page.pageSize,
      method: 'post'
    })
}

export function getOrder(oid) {
  return request({
    url: '/order/' + oid,
    method: 'get'
  })
}



